package com.qf.talk.dao;

import com.qf.talk.model.FriendShipPolicy;
import com.qf.talk.model.FriendShipPolicyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FriendShipPolicyDao {
    long countByExample(FriendShipPolicyExample example);

    int deleteByExample(FriendShipPolicyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FriendShipPolicy record);

    int insertSelective(FriendShipPolicy record);

    List<FriendShipPolicy> selectByExample(FriendShipPolicyExample example);

    FriendShipPolicy selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FriendShipPolicy record, @Param("example") FriendShipPolicyExample example);

    int updateByExample(@Param("record") FriendShipPolicy record, @Param("example") FriendShipPolicyExample example);

    int updateByPrimaryKeySelective(FriendShipPolicy record);

    int updateByPrimaryKey(FriendShipPolicy record);
}